package one.stand.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * @author cjr
 */
@Data
@Builder
public class IndexResponse {
    @ApiModelProperty(value = "用户名")
    private String name;
    @ApiModelProperty(value = "用户头像")
    private String icon;
    @ApiModelProperty(value = "名片太阳码")
    private String wxCode;
    @ApiModelProperty(value = "职位")
    private String position;

    @ApiModelProperty(value = "类型：0 视频 1 3d")
    private Integer videoType;
    @ApiModelProperty(value = "视频")
    private String videoUrl;
    @ApiModelProperty(value = "3d地址")
    private String vrUrl;
    @ApiModelProperty(value = "轮播图列表")
    private List<Banner> banners;

    @Data
    @Builder
    public static class Banner {
        @ApiModelProperty(value = "资源")
        private String source;
        @ApiModelProperty(value = "资源类型：0 图片")
        private Integer type;
        @ApiModelProperty(value = "事件：0 无 1 跳转商品详情 2 跳转h5")
        private String event;
        @ApiModelProperty(value = "事件参数")
        private String id;
    }
}
